From: Paul Donald Date: Fri, 21 Nov 2025 13:43:20 +0000 (+0100) Subject: odhcp6c: set environment script to its current location X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=f038a50604aea9ca270a27a187000f4dbe3482be;p=project%2Fodhcp6c.git odhcp6c: set environment script to its current location The calling script which sets odhcp6c up is currently passed -s as routine, but synchronize its current location with its calling script, which should make cross-referencing easier. Signed-off-by: Paul Donald Link: https://github.com/openwrt/odhcp6c/pull/126 Signed-off-by: Álvaro Fernández Rojas --- diff --git a/src/odhcp6c.c b/src/odhcp6c.c index 43ec72f..0daee8e 100644 --- a/src/odhcp6c.c +++ b/src/odhcp6c.c @@ -166,7 +166,7 @@ int main(_o_unused int argc, char* const argv[]) static struct in6_addr ifid = IN6ADDR_ANY_INIT; // Allocate resources const char *pidfile = NULL; - const char *script = "/usr/sbin/odhcp6c-update"; + const char *script = "/lib/netifd/dhcpv6.script"; ssize_t l; uint8_t buf[134], *o_data; char *optpos; @@ -785,7 +785,7 @@ static int usage(void) " -i Use a custom interface identifier for RA handling\n" " -r Options to be requested (comma-separated)\n" " -R Do not request any options except those specified with -r\n" - " -s